package com.ky.server.util;

import java.io.FileReader;
import java.util.Properties;

public class propertiesUtil {

	private static Properties prop;
	static {
		prop = new Properties();
		try {
			prop.load(new FileReader(ConfigConstants.SERVER_PROP_PATH));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	public static String getProperty(String key) {
		return prop.getProperty(key);
	}
	
}
